package com.zzyl.mapper;

import com.zzyl.entity.Floor;
import com.zzyl.vo.FloorVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface FloorMapper {


    List<FloorVo> selectAllRoomAndBed();

    List<FloorVo> selectAllByNur();

    List<FloorVo> getAll();

    void add(Floor floor);

    void delete(Integer id);

    void update(Floor floor);

    FloorVo read(Integer id);

    //List<FloorVo> getAll();
}
